<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>电影排片-郫县电影</title>
	<link rel="short icon"  href="/photo/head.png"/>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.7.2.min.js"></script>
	<style>
		/*伪类选择器*/
		.city-container:hover>div.city-list{
			display: block;
			background-color: block;
		}
		.header .nav .navbar li a:hover {
		    color: #ef4238;
		}
		.header .user-info .user-avatar:hover {
		    border-color: #d8d8d8;
		}
		.header .user-info .user-avatar:hover .caret {
		    -webkit-transform: rotate(180deg);
		    -ms-transform: rotate(180deg);
		    transform: rotate(180deg);
		}
		.city-container:hover .caret {
		    -webkit-transform: rotate(180deg);
		    -ms-transform: rotate(180deg);
		    transform: rotate(180deg);
		}
		.header .user-info .user-avatar:hover .user-menu {
		    display: block;
		}
		.city-container .city-list ul li div a:hover {
		    background-color: #ef4238;
		    color: #fff;
		}
		.header .user-info .user-menu li>a:hover {
		    color: #ef4238;
		    text-decoration: underline;
		}
		.show-list .movie-info .movie-desc>div {
		    display: inline-block;
		    font-size: 14px;
		    color: #151515;
		    margin-bottom: 20px;
		    margin-right: 40px;
		}
		.show-list .movie-info .sc:after {
		    content: "\5206";
		    font-size: 12px;
		}
		.show-list .plist tbody .buy-btn.normal:hover {
		    background-color: #ff5e59;
		}

		/*伪类组合选择器*/
		a:focus, div:focus, input:focus {
		    outline: none;
		}
		a:active, a:hover {
		    outline-width: 0;
		}

		/*组合选择器*/
		.header form, .header h3, .header input, .header li, .header ul {
		    padding: 0;
		    margin: 0;
		    list-style: none;
		    border: none;
		}
		ul, ul li {
		    list-style: none;
		}
		dd, dl, dt, h1, h2, h3, h4, h5, h6, li, p, ul {
		    margin: 0;
		    padding: 0;
		}
		.footer p, .footer p a {
		    color: #666;
		}
		.footer .friendly-links a {
		    color: #ef4238;
		}
		.clearfix:after, .clearfix:before {
		    content: " ";
		    display: table;
		}
		.celeInfo-left .avatar-shadow, .cinema-left .avatar-shadow {
		    position: relative;
		    margin: 0 30px;
		    width: 240px;
		    height: 330px;
		    padding-bottom: 40px;
		    background: url(…7VPEI076YAUGbzfwrAqOYRormcAjCANodSAEY1j2oexJoBlx1+yE7RXIIAAAAASUVORK5CYII=) no-repeat bottom;
		}
		.banner .wrapper .cinema-brief-container .address, .banner .wrapper .cinema-brief-container .telphone {
		    font-size: 14px;
		    margin-bottom: 6px;
		}
		.banner .wrapper .cinema-brief-container .address, .banner .wrapper .cinema-brief-container .telphone {
		    font-size: 14px;
		    margin-bottom: 6px;
		}
		.banner li, .banner p, .banner ul {
		    margin: 0;
		    padding: 0;
		    list-style: none;
		    line-height: 1;
		}
		.show-list .plist tbody .hall, .show-list .plist tbody .lang {
		    font-size: 14px;
		    color: #333;
		}

		/*标签选择器*/
		html {
		    font-family: sans-serif;
		    -ms-text-size-adjust: 100%;
		    -webkit-text-size-adjust: 100%;
		}
		body {
		    font-family: Microsoft YaHei,Helvetica,Arial,sans-serif;
		    background-color: #fff;
		    -webkit-font-smoothing: subpixel-antialiased;
		    margin: 0;
		}
		a {
		    background-color: transparent;
		    -webkit-text-decoration-skip: objects;
		    text-decoration: none;
		}
		img {
		    border-style: none;
		}
		button, input {
		    overflow: visible;
		}
		button, input, select, textarea {
		    font: inherit;
		    margin: 0;
		}

		/*类选择器*/
		.header{
			position: fixed;
			top: 0;
			z-index: 999;
		    width: 100%;
		    min-width: 1200px;
		    background-color: #fff;
		    border-bottom: 1px solid #d8d8d8;
		}
		.header-inner{
			width: 1200px;
		    margin: 0 auto;
		    height: 80px;
		}
		.header .logo {
		    float: left;
		    width: 133px;
		    height: 80px;
		    background: url(…mAM7EgqAAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAASUVORK5CYII=) no-repeat 0;
		    background-size: contain;
		}
		.city-container {
		    position: relative;
		    float: left;
		    margin: 0 8px;
		    height: 100%;
		}
		.city-container .city-selected {
		    cursor: pointer;
		    height: 100%;
		    padding: 0 10px;
		    border: 1px solid transparent;
		    border-width: 0 1px;
		    z-index: 101;
		}
		.city-container .city-name {
		    display: inline-block;
		    margin-top: 32px;
		    color: #333;
		}
		.caret {
		    display: inline-block;
		    width: 0;
		    height: 0;
		    margin-left: 2px;
		    vertical-align: middle;
		    border-top: 5px solid #666;
		    border-right: 5px solid transparent;
		    border-left: 5px solid transparent;
		    -webkit-transition: all .2s ease;
		    transition: all .2s ease;
		}
		.city-container .city-list {
		    background-color: block;
		    border: 1px solid #d8d8d8;
		    position: absolute;
		    z-index: 100;
		    width: 478px;
		    height: 330px;
		    overflow-y: scroll;
		    left: 0;
		    top: 80px;
		    display: none;
		}
		.city-container .city-list .city-list-header {
		    padding-left: 20px;
		    line-height: 58px;
		    border-bottom: 1px solid #e5e5e5;
		    margin-bottom: 10px;
		}
		.city-container .city-list .city-list-header a {
		    cursor: pointer;
		}
		.city-container .city-list ul li {
		    line-height: 30px;
		}
		.city-container .city-list ul li span {
		    margin-left: 20px;
		    width: 20px;
		    text-align: center;
		    float: left;
		    vertical-align: top;
		    display: block;
		    background-color: #eee;
		    font-weight: 700;
		    line-height: 20px;
		    margin-top: 5px;
		}
		.city-container .city-list ul li div {
		    margin-left: 40px;
		    display: block;
		    margin-bottom: 10px;
		}
		.city-container .city-list ul li div a {
		    display: inline-block;
		    line-height: 24px;
		    margin-top: 3px;
		    padding: 0 5px;
		    text-align: center;
		    cursor: pointer;
		}
		.header .nav {
		    display: inline-block;
		    background-color: #fff;
		    overflow: hidden;
		    float: left;
		    width: 490px;
		    height: 80px;
		}
		.header .nav .navbar li {
		    float: left;
		    width: 110px;
		    height: 80px;
		}
		.header .nav .navbar li a {
		    text-align: center;
		    display: inline-block;
		    height: 80px;
		    line-height: 80px;
		    width: 110px;
		    font-size: 18px;
		    color: #333;
		}
		.header .nav .navbar li a.active {
		    color: #fff;
		    background-color: #ef4238;
		}
		.header .user-info {
		    float: right;
		    position: relative;
		    z-index: 9999;
		    height: 100%;
		}
		.header .user-info .user-avatar {
		    display: block;
		    border: 1px solid transparent;
		    border-top: none;
		    border-bottom: none;
		    padding: 0 10px;
		    width: 56px;
		    height: 100%;
		}
		.header .user-info .user-avatar img {
		    margin-top: 20px;
		    width: 40px;
		    height: 40px;
		    border-radius: 50%;
		    cursor: pointer;
		}
		.caret {
		    display: inline-block;
		    width: 0;
		    height: 0;
		    margin-left: 2px;
		    vertical-align: middle;
		    border-top: 5px solid #666;
		    border-right: 5px solid transparent;
		    border-left: 5px solid transparent;
		    -webkit-transition: all .2s ease;
		    transition: all .2s ease;
		}
		.header .user-info .user-avatar .caret {
		    position: absolute;
		    top: 39px;
		    right: 10px;
		}
		.header .user-info .user-menu {
		    display: none;
		    position: absolute;
		    right: 0;
		    top: 80px;
		    border: 1px solid #d8d8d8;
		    background-color: #fff;
		    font-size: 14px;
		    color: #333;
		    text-align: right;
		    padding: 15px 26px 5px;
		    text-align: center;
		}
		.header .user-info .user-menu li {
		    margin-bottom: 6px;
		}
		.header .user-info .user-menu li>a {
		    color: #999;
		    display: block;
		    word-break: keep-all;
		    white-space: nowrap;
		    overflow: hidden;
		    text-overflow: ellipsis;
		}
		.header form {
		    float: right;
		    margin: 20px 10px 0 0;
		    position: relative;
		}
		.header form .search {
		    display: inline-block;
		    height: 40px;
		    line-height: 1.2;
		    width: 220px;
		    padding: 0 40px 0 20px;
		    border: 1px solid #ccc;
		    font-size: 14px;
		    border-radius: 30px;
		    background-color: #faf8fa;
		    overflow: hidden;
		    color: #333;
		}
		.header form input {
		    -webkit-box-sizing: border-box;
		    box-sizing: border-box;
		}
		.header form .submit {
		    display: inline-block;
		    position: absolute;
		    left: 180px;
		    top: 0;
		    height: 40px;
		    width: 40px;
		    background-color: #ef4238;
		    border-radius: 30px;
		    background-image: url(…lAPIaWAsB6KGsWyprFKvVsa5HbqIxmUAYzJGN4mTv/nje3wQeTZXOUBwAAAABJRU5ErkJggg==);
		    cursor: pointer;
		}
		.banner {
		    width: 100%;
		    min-width: 1200px;
		    background: #392f59 url(banner_bg.f7fd103….png) no-repeat 50%;
		}
		.cinema-banner .wrapper {
		    height: 320px;
		    position: relative;
		    top: 120px;
		}
		.banner .wrapper {
		    width: 1200px;
		    margin: 0 auto;
		    height: 376px;
		    position: relative;
		}
		.banner .wrapper .cinema-left {
		    width: 360px;
		    float: left;
		    overflow: hidden;
		    z-index: 9;
		}
		.cinema-left .avatar-shadow {
		    width: 300px;
		    height: 300px;
		    background-size: 300px 50px;
		    position: relative;
		}
		.cinema-left .avatar-shadow .avatar {
		    border: 4px solid #fff;
		    height: 292px;
		    width: 292px;
		}
		.banner .wrapper .cinema-main {
		    position: relative;
		    float: left;
		    max-width: 600px;
		}
		.banner .wrapper .cinema-brief-container {
		    color: #fff;
		}
		.banner .wrapper .cinema-brief-container .name {
		    margin: 0;
		    font-size: 26px;
		    margin-bottom: 9px;
		    font-weight: 400;
		}
		.text-ellipsis {
		    overflow: hidden;
		    white-space: nowrap;
		    text-overflow: ellipsis;
		}
		.text-ellipsis {
		    overflow: hidden;
		    white-space: nowrap;
		    text-overflow: ellipsis;
		}
		.banner .wrapper .cinema-brief-container .features-group {
		    position: relative;
		}
		.banner .wrapper .cinema-brief-container .features-group .group-title {
		    font-size: 14px;
		    margin-bottom: 5px;
		    overflow: hidden;
		    width: 410px;
		}
		.banner .wrapper .cinema-brief-container .features-group .group-title:after {
		    border-top: 1px solid hsla(0,0%,100%,.7);
		    display: block;
		    content: "";
		    position: relative;
		    top: -10px;
		    left: 70px;
		}
		.banner .wrapper .cinema-brief-container .features-group .feature {
		    font-size: 12px;
		    margin-bottom: 2px;
		    position: relative;
		    min-height: 22px;
		    line-height: 23px;
		    -webkit-transform-origin: 0;
		    -ms-transform-origin: 0;
		    transform-origin: 0;
		    -webkit-transform: scale(.8);
		    -ms-transform: scale(.8);
		    transform: scale(.8);
		}
		.banner .wrapper .cinema-brief-container .features-group .feature .tag {
		    display: inline-block;
		    border: 1px solid hsla(0,0%,100%,.6);
		    border-radius: 2px;
		    min-width: 60px;
		    height: 22px;
		    line-height: 23px;
		    text-align: center;
		}
		.banner .wrapper .cinema-brief-container .features-group .feature .desc {
		    display: inline-block;
		    max-width: 438px;
		    margin-left: 5px;
		    vertical-align: middle;
		}
		.text-ellipsis {
		    overflow: hidden;
		    white-space: nowrap;
		    text-overflow: ellipsis;
		}
		.container {
		    margin-top: 350px;
		}
		.movie-list-container {
		    height: 280px;
		    padding: 22px 5px;
		    -webkit-box-sizing: border-box;
		    box-sizing: border-box;
		    overflow: hidden;
		    -webkit-box-shadow: inset 0 0 100px 80px #ededed;
		    box-shadow: inset 0 0 100px 80px #ededed;
		    position: relative;
		}
		.movie-list-container .pointer {
		    position: absolute;
		    display: block;
		    content: "";
		    bottom: -23px;
		    left: 71px;
		    border-style: solid;
		    border-width: 11px 14px;
		    border-color: transparent transparent #fff;
		}
		.movie-list-container .movie-list {
		    white-space: nowrap;
		    position: relative;
		    display: table;
		    left: 0;
		    -webkit-transition: left .2s ease;
		    transition: left .2s ease;
		}
		.movie-list-container .movie.active {
		    -webkit-transform: scale(1);
		    -ms-transform: scale(1);
		    transform: scale(1);
		    border-color: #f24030;
		}
		.movie-list-container .movie {
		    width: 162px;
		    height: 227px;
		    border: 4px solid #fff;
		    -webkit-box-shadow: 0 1px 3px 0 hsla(0,0%,66%,.5);
		    box-shadow: 0 1px 3px 0 hsla(0,0%,66%,.5);
		    display: inline-block;
		    -webkit-transform-origin: 50%;
		    -ms-transform-origin: 50%;
		    transform-origin: 50%;
		    -webkit-transform: scale(.82);
		    -ms-transform: scale(.82);
		    transform: scale(.82);
		    -webkit-transition: -webkit-transform .1s;
		    transition: -webkit-transform .1s;
		    transition: transform .1s;
		    transition: transform .1s,-webkit-transform .1s;
		    word-spacing: 0;
		}
		.movie-list-container .movie img {
		    width: 100%;
		    height: 100%;
		}
		.movie-list-container .scroll-prev {
		    left: 0;
		    background-image: url(…wDdIm4C42pLj2lU1RVFkurt9TmXUXFgKq4A1JtAqk429/9SruXxl7sIQAAAABJRU5ErkJggg==);
		}
		.movie-list-container .scroll-next {
		    right: 0;
		    background-image: url(…fabycyqS6sZRQFdW+lMgxdHTLHlmmwHNC+Hr0gr791cRjnL3/vu4SC/ROyAAAAAElFTkSuQmCC);
		}
		.movie-list-container .scroll-btn {
		    display: inline-block;
		    position: absolute;
		    width: 30px;
		    height: 100%;
		    top: 0;
		    background-repeat: no-repeat;
		    background-position: 50%;
		}
		.show-list.active {
		    display: block;
		}
		.footer {
		    background-color: #262426;
		    padding: 56px 0;
		    margin: 0 auto;
		    min-width: 1200px;
		    margin-top: 82px;
		    visibility: hidden;
		}
		.footer p {
		    margin: 0;
		    padding: 0;
		    text-align: center;
		    font-size: 14px;
		    line-height: 20px;
		}
		.friendly-links span {
		    display: inline-block;
		    border-left: 1px solid #444;
		    margin: 0 7px;
		    height: 12px;
		    position: relative;
		    top: 1px;
		}
		.show-list {
		    display: none;
		}
		.show-list .movie-info {
		    margin-top: 20px;
		    border-bottom: 1px solid #e5e5e5;
		}
		.show-list .movie-info .movie-name {
		    display: inline-block;
		    margin: 0 20px 20px 0;
		    font-size: 26px;
		    font-weight: 400;
		    color: #333;
		}
		.show-list .movie-info .movie-desc .key {
		    color: #999;
		}
		.show-list .movie-info .score {
		    display: inline-block;
		    font-size: 24px;
		    color: #faaf00;
		}
		.show-list .show-date {
		    padding: 30px 0;
		    font-size: 14px;
		    color: #999;
		}
		.show-list .show-date .date-item.active {
		    color: #fff;
		    background-color: #f03d37;
		}
		.show-list .show-date .date-item {
		    display: inline-block;
		    background-color: transparent;
		    border-radius: 100px;
		    color: #333;
		    padding: 2px 10px;
		    margin-left: 12px;
		    cursor: default;
		}
				.show-list .plist-container.active {
		    display: block;
		}
		.show-list .plist-container {
		    display: none;
		}
		.show-list .plist {
		    width: 100%;
		    border: none;
		    border-spacing: 0;
		}
		.show-list .plist thead {
		    background-color: #f7f7f7;
		    color: #333;
		    font-size: 16px;
		    padding: 18px 0;
		}
		.show-list .plist thead th {
		    padding: 16px 0;
		}
		.show-list .plist tbody tr {
		    height: 82px;
		}
		.show-list .plist tbody td {
		    text-align: center;
		    width: 20%;
		}
		.show-list .plist tbody .begin-time {
		    font-size: 18px;
		    color: #333;
		    font-weight: 700;
		}
		.show-list .plist tbody .end-time {
		    font-size: 12px;
		    color: #999;
		}
		.show-list .plist tbody .sell-price {
		    font-size: 18px;
		    color: #f03d37;
		    font-weight: 700;
		}
		.stonefont {
		    font-family: stonefont;
		}
		.show-list .plist tbody .buy-btn.normal {
		    -webkit-box-shadow: 0 2px 10px -2px #f03d37;
		    box-shadow: 0 2px 10px -2px #f03d37;
		}
		.show-list .plist tbody .buy-btn {
		    display: inline-block;
		    width: 80px;
		    height: 30px;
		    color: #fff;
		    background-color: #f03d37;
		    font-size: 14px;
		    line-height: 30px;
		    border-radius: 100px;
		    text-align: center;
		}


		/*type*/

		[type=search] {
		    -webkit-appearance: textfield;
		    outline-offset: -2px;
		}
		[type=reset], [type=submit], button, html [type=button] {
		    -webkit-appearance: button;
		}
	</style>
</head>
<body>
	<div class="header">
	  <div class="header-inner">
	        <a href="/" class="logo" data-act="icon-click"></a>
			<div class="city-container" data-val="{currentcityid:59 }">
				<div class="city-selected">
					<div class="city-name">
					  成都
					  <span class="caret"></span>
					</div>
				</div>
				<div class="city-list" data-val="{ localcityid: 59 }">
					<div class="city-list-header">
						定位城市：
						<a class="js-geo-city">成都</a>
					</div>
		              
				</div>
			</div>


			<div class="nav">
				<ul class="navbar">
					<li>
						<a href="/home" data-act="home-click" >首页</a>
					</li>
					<li>
						<a href="/filmBeShowing" data-act="movies-click" >电影</a>
					</li>
					<li>
						<a href="/cinemas" data-act="cinemas-click" class="active">影院</a>
					</li>
				</ul>
			</div>

			<div class="user-info">
				<div class="user-avatar J-login">
					<img src="https://p0.meituan.net/movie/7dd82a16316ab32c8359debdb04396ef2897.png">
					<span class="caret"></span>
					<c:choose>
						<c:when test="${sessionScope.cur_user == null }">
							<ul class="user-menu">
								<li><a  href="/login">登录</a></li>
							</ul>							
						</c:when>
						<c:otherwise>
							<ul class="user-menu">
								<li><a  href="/logoff">注销</a></li>
								<li><a  href="/user_update">个人信息</a></li>
							</ul>		
						</c:otherwise>
					</c:choose>
				</div>
			</div>

			<form action="/findfilms_byname" target="_blank" class="search-form" data-actform="search-click">
				<input name="name" class="search" type="search" maxlength="32" placeholder="找影视剧、影人、影院" autocomplete="off">
				<input class="submit" type="submit" value="">
			</form>
	  </div>
	</div>
	<div class="header-placeholder"></div>
	<!--影院简介-->
	<div class="banner cinema-banner">
	  <div class="wrapper clearfix">
	    <div class="cinema-left">
	      <div class="avatar-shadow">
	        <img class="avatar" src="https://p1.meituan.net/deal/201208/22/1_0822151022.jpg@292w_292h_1e_1c">
	      </div>
	    </div>

	    <div class="cinema-main clearfix">
	      <div class="cinema-brief-container">
	        <h3 class="name text-ellipsis">${requestScope.cinema.cinemaName }</h3>
	        <div class="address text-ellipsis">${requestScope.cinema.address }</div>
	        <div class="telphone">电话：028-86586269</div>

					<div class="features-group">
						<div class="group-title">影院服务</div>

						<div class="feature">
							<span class="tag ">3D眼镜</span>
							<p class="desc text-ellipsis" title="免押金">免押金</p>
						</div>
						<div class="feature">
							<span class="tag ">儿童优惠</span>
							<p class="desc text-ellipsis" title="1.3米以下小朋友可享受无座免票">1.3米以下小朋友可享受无座免票</p>
						</div>
						<div class="feature">
							<span class="tag park-tag">可停车</span>
							<p class="desc text-ellipsis" title="目前免费，详请现场咨询影城">目前免费，详请现场咨询影城</p>
						</div>
					</div>
	   	</div>
	   	
	</div>
	<!--影院内容-->
	<div class="container" id="app">
	      <div class="movie-list-container" data-cinemaid="16399">
	        <div class="movie-list" style="left: 0px;">
	        <c:forEach items="${requestScope.films }" var="a">
	        	<c:if test="${a.movieId eq requestScope.movieId}" var="flag" scope="session">
	        		<c:set value="${a}" var="Movie" />
 					<div class="movie active" data-index="0" data-movieid="1218141" data-bid="b_uup5nnq7" data-act="cinema-movie-click" data-val="{city_id:59, movie_id:1218141, cinema_id:16399}">
	            	<img src="${request.getContextPath()}${a.cover}" alt="">
	          		</div> 
				</c:if>
	          	<c:if test="${not flag}">
 					<div class="movie" data-index="0" data-movieid="1218141" data-bid="b_uup5nnq7" data-act="cinema-movie-click" data-val="{city_id:59, movie_id:1218141, cinema_id:16399}">
	            	<img src="${request.getContextPath()}${a.cover}" alt="">
	          		</div> 
				</c:if>
	         </c:forEach>
	          <span class="pointer" style="left: 71px;"></span>
	        </div>
	        <span class="scroll-prev scroll-btn"></span>
	        <span class="scroll-next scroll-btn"></span>
	      </div>

	      <div class="show-list active" data-index="0">
	        <div class="movie-info">
	<!-- 选择影院的排片数据 -->
	<div>
    <h3 class="movie-name">${Movie.filmName }</h3>
        <span class="score sc">${Movie.score }</span>
    </div>

	<div class="movie-desc">
	    <div>
	      <span class="key">时长 :</span>
	      <span class="value">${Movie.filmLength }分钟</span>
	    </div>
	    <div>
	      <span class="key">类型 :</span>
	      <span class="value">${Movie.type }</span>
	    </div>
	    <div>
	      <span class="key">主演 :</span>
	      <span class="value">${Movie.leads }</span>
	    </div>
	  </div>
	</div>

	<div id="CinemaDate" class="show-date">
	  <span>观影时间 :</span>
	  <c:forEach items="${requestScope.filmDates }" var="fd" varStatus="i">
		  <c:if test="${i.count eq 1}" var="flag">
		    <div class="date-item active" style="display:inline-block" data-index="$">${fd.filmTime }</div>
		  </c:if>
		  <c:if test="${not flag}">
   			<div class="date-item" style="display:inline-block" data-index="$">${fd.filmTime }</div>
		  </c:if>
	  </c:forEach>
	</div>
		<div id="CinemaSchedule">
		<c:forEach items="${requestScope.filmDates }" var="fd" varStatus="i">
			<c:if test="${i.count eq 1 }" var="flag1">
		  	<div class="plist-container active">
				<table class="plist">
				  <thead>
				    <tr>
				      <th>放映时间</th>
				      <th>语言版本</th>
				      <th>放映厅</th>
				      <th>售价（元）</th>
				      <th>选座购票</th>
				    </tr>
				  </thead>
		
				  <tbody>
				  <c:set value="${fd.schedules }" var="Schedules" />
				  <c:forEach items="${fd.schedules}" var="Schedules" varStatus="status" >
				    <tr class="">
				      <td>
				        <span class="begin-time">${Schedules.startHour}:${Schedules.startMin }</span>
				        <br>
				        <span class="end-time">${Schedules.endHour}:${Schedules.endMin }散场</span>
				      </td>
				      <td>
				        <span class="lang">${Schedules.version }</span>
				      </td>
				      <td>
				        <span class="hall">${Schedules.hallName }</span>
				      </td>
				      <td>
				        <span class="sell-price"><span class="stonefont">${Schedules.price }</span></span>
				      </td>
				      <td>
				        <a href="/chooseSeat/${requestScope.cinemaId}&${requestScope.movieId}&${Schedules.scheduleId}" class="buy-btn normal" data-tip="" data-act="show-click" data-bid="b_gvh3l8gg" data-val="{movie_id: 1218141, cinema_id:16399}">选座购票</a>
				      </td>
				    </tr>
				 </c:forEach>   
				 </tbody>
				</table>
		  		</div>
			</c:if>
			<c:if test="${not flag1}">
		  	<div class="plist-container">
				<table class="plist">
				  <thead>
				    <tr>
				      <th>放映时间</th>
				      <th>语言版本</th>
				      <th>放映厅</th>
				      <th>售价（元）</th>
				      <th>选座购票</th>
				    </tr>
				  </thead>
		
				  <tbody>
				  <c:set value="${fd.schedules }" var="Schedules" />
				  <c:forEach items="${fd.schedules}" var="Schedules" varStatus="status" >
				    <tr class="">
				      <td>
				        <span class="begin-time">${Schedules.startHour}:${Schedules.startMin }</span>
				        <br>
				        <span class="end-time">${Schedules.endHour}:${Schedules.endMin }散场</span>
				      </td>
				      <td>
				        <span class="lang">${Schedules.version }</span>
				      </td>
				      <td>
				        <span class="hall">${Schedules.hallName }</span>
				      </td>
				      <td>
				        <span class="sell-price"><span class="stonefont">${Schedules.price }</span></span>
				      </td>
				      <td>
				        <a href="/chooseSeat/${requestScope.cinemaId}&${requestScope.movieId}&${Schedules.scheduleId}" class="buy-btn normal" data-tip="" data-act="show-click" data-bid="b_gvh3l8gg" data-val="{movie_id: 1218141, cinema_id:16399}">选座购票</a>
				      </td>
				    </tr>
				 </c:forEach>   
				 </tbody>
				</table>
		  		</div>
			</c:if>			
		</c:forEach> 
	</div>
	<!--底部-->

</body>

<script type="text/javascript">
$(function(){
    $("#CinemaDate div").click(function() {
    	var cinemaIndex=$("#CinemaDate div").index(this);
    	console.log("当前下标为："+cinemaIndex);
        $(this).siblings('div').removeClass('active');  
        $(this).addClass('active'); 
        $("#CinemaSchedule div").eq(cinemaIndex).siblings('div').removeClass('active');
        $("#CinemaSchedule div").eq(cinemaIndex).addClass('active');

    });
}); 
</script>
</html>